<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<script type="text/javascript" src="updownload/upload.js"></script>

<title>上传文件</title>
</head>
<body>

	<iframe name="upload_iframe" width=0 height=0></iframe>


	<form action="upload" method="post" target="upload_iframe"
	onsubmit="showStatus()"
		 enctype="multipart/form-data">
		<div>
			<div align="left">上传文件一</div>
			<div align="left">
				<input type="file" name="file1" />
			</div>
		</div>

		</br>

		<div>

			<div align="left">
				<input type="submit" name="submit" value="提交文件" />
			</div>
		</div>

	</form>

	<!-- 上传的实时信息 -->
	<div id="status">
		<div id="statueInfo">
			<div id="percentage"></div>
		</div>
	</div>

</body>
</html>